//-----------------------------------------------------------------------
// <copyright file="a_DomPrefSBase.cs" company="AACECOM">
//     Copyright (c) AACECOM. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ThoiTrang.Entities
{
	[Serializable]
	public class a_DomPrefSBase
	{
		
		#region Variable Declarations
		private int				prefID = 0;
		private int				domainID = 0;
		private int				pageSize = 0;
		private int				pageSetSize = 0;
		private bool				inventoryMode = false;
		private bool				productMode = false;
		private bool				freeShipping = false;
		private int				freeShippingService = 0;
		private decimal				freeShippingReqAmt = 0;
		private string				freeShippingMsg = string.Empty;
		private bool				freeTax = false;
		private decimal				freeTaxReqAmt = 0;
		private string				freeTaxMsg = string.Empty;
		private string				origCity = string.Empty;
		private string				origState = string.Empty;
		private string				origZipCode = string.Empty;
		private string				origCountry = string.Empty;
		private byte				shipQuoteMethod1 = 0;
		private byte				shipQuoteMethod2 = 0;
		private string				shippingCutOffTime = string.Empty;
		private double				shippingSurCharge = 0;
		private bool				shippingSurChargeUnit = false;
		private bool				allowShip3rdParty = false;
		private bool				allowShipAsGift = false;
		private bool				weightRangeCriteria = false;
		private bool				weightRangeWOther = false;
		private int				usuallyShipQtyLevel = 0;
		private bool				showOutStockProd = false;
		private bool				allowOutStockOrder = false;
		private string				outStockMsg = string.Empty;
		private string				usuallyShipInvN = string.Empty;
		private string				usuallyShipInvYontime = string.Empty;
		private string				usuallyShipInvYlate = string.Empty;
		private string				topNumberProd = string.Empty;
		private string				sendLeadTo = string.Empty;
		private bool				sendDropShip = false;
		private string				sendDropShipTo = string.Empty;
		private string				sendCSRTo = string.Empty;
		private bool				newCustomerSurvey = false;
		private int				sendmailID = 0;
		private string				promoTimeStart = string.Empty;
		private string				promoTimeEnd = string.Empty;
		private byte				promoAutoExpireSD = 0;
		private byte				promoAutoExpireED = 0;
		private int				adm_PageSize = 0;
		private int				adm_PageSetSize = 0;
		private string				domainIP = string.Empty;
		private string				domainRootFolder = string.Empty;
		private bool				req_CSC = false;
		private bool				req_MatchBillAddr = false;
		private bool				req_MatchCardholder = false;
		private decimal				cODCharge = 0;
		private string				payPalEmail = string.Empty;
		private string				currency = string.Empty;
		private bool				promoEligible = false;
		private int				storeCount = 0;
		private string				gateway_CC = string.Empty;
		private string				gateway_Check = string.Empty;
		private string				gateway_Login1 = string.Empty;
		private string				gateway_Login2 = string.Empty;
		private string				gateway_Password = string.Empty;
		private bool				gateway_TransMode = false;
		private string				gateway_TransType = string.Empty;
		private string				gateway_Host = string.Empty;
		private string				gateway_Port = string.Empty;
		private int				numOfRetry = 0;
		private bool				req_UserAgreement = false;
		private byte				lineDescOption = 0;
		private string				mapBrand = string.Empty;
		private string				mapColors = string.Empty;
		private string				mapSizes = string.Empty;
		private string				mapCustom1 = string.Empty;
		private string				mapCustom2 = string.Empty;
		private string				mapCustom3 = string.Empty;
		private string				mapCustom4 = string.Empty;
		private int				groupID = 0;
		private bool				isPrimary = false;
		private bool				linkMgtInventory = false;
		private string				billingServiceNote = string.Empty;
		private bool				packageMode = false;
		private bool				reviewMode = false;
		private bool				secondCategories = false;
		private byte				operationType = 0;
		private bool				req_AVSMatched = false;
		private bool				req_AVSZipMatched = false;
		private bool				isShowUnsuccess = false;
		private bool				req_NewCustomers = false;
		private bool				req_NewOrders = false;
		private bool				enReward = false;
		private bool				rewardMethod = false;
		private int				creditCalcValue = 0;
		private bool				creditCalcType = false;
		private int				pointCalcValue1 = 0;
		private int				pointCalcValue2 = 0;
		private decimal				rewardOrderMin = 0;
		private bool				enLottery = false;
		private bool				showLotteryNum = false;
		private bool				typeLottery = false;
		private int				cycleSpin = 0;
		private byte				cycleType = 0;
		private DateTime				startDateLottery = new DateTime(1900,1,1,0,0,0,0);
		private DateTime				endDateLottery = new DateTime(1900,1,1,0,0,0,0);
		private bool				priceMode = false;
		private bool				enPriceLevels = false;
		private bool				enPricebyVolume = false;
		private byte				numLevel = 0;
		private bool				exceedQtyContactType = false;
		private int				imgLWidth = 0;
		private int				imgMWidth = 0;
		private int				imgSWidth = 0;
		private int				imgTWidth = 0;
		private int				imgLHeight = 0;
		private int				imgMHeight = 0;
		private int				imgSHeight = 0;
		private int				imgTHeight = 0;
		private byte				menuOption = 0;
		private byte				imgNameConvention = 0;
		private byte				chatStatus = 0;
		private string				companyName = string.Empty;
		private string				address = string.Empty;
		private string				phone = string.Empty;
		private string				fax = string.Empty;
		private string				email = string.Empty;
		private int				minAucTransSuccessOfSeller = 0;
		private bool				enMultiProductImg = false;
		private bool				enMultiProductVideo = false;
		private bool				enMultiProductPDF = false;
		private bool				enProductReview = false;
		private byte				videoNameConvention = 0;
		private byte				docNameConvention = 0;
		private bool				reqPhoneOfAdd = false;
		private bool				rqMatchCSC = false;
		#endregion
		
		#region Constructors
		public a_DomPrefSBase() {}
		
		public a_DomPrefSBase (
			int prefID,
			int domainID,
			int pageSize,
			int pageSetSize,
			bool inventoryMode,
			bool productMode,
			bool freeShipping,
			int freeShippingService,
			decimal freeShippingReqAmt,
			string freeShippingMsg,
			bool freeTax,
			decimal freeTaxReqAmt,
			string freeTaxMsg,
			string origCity,
			string origState,
			string origZipCode,
			string origCountry,
			byte shipQuoteMethod1,
			byte shipQuoteMethod2,
			string shippingCutOffTime,
			double shippingSurCharge,
			bool shippingSurChargeUnit,
			bool allowShip3rdParty,
			bool allowShipAsGift,
			bool weightRangeCriteria,
			bool weightRangeWOther,
			int usuallyShipQtyLevel,
			bool showOutStockProd,
			bool allowOutStockOrder,
			string outStockMsg,
			string usuallyShipInvN,
			string usuallyShipInvYontime,
			string usuallyShipInvYlate,
			string topNumberProd,
			string sendLeadTo,
			bool sendDropShip,
			string sendDropShipTo,
			string sendCSRTo,
			bool newCustomerSurvey,
			int sendmailID,
			string promoTimeStart,
			string promoTimeEnd,
			byte promoAutoExpireSD,
			byte promoAutoExpireED,
			int adm_PageSize,
			int adm_PageSetSize,
			string domainIP,
			string domainRootFolder,
			bool req_CSC,
			bool req_MatchBillAddr,
			bool req_MatchCardholder,
			decimal cODCharge,
			string payPalEmail,
			string currency,
			bool promoEligible,
			int storeCount,
			string gateway_CC,
			string gateway_Check,
			string gateway_Login1,
			string gateway_Login2,
			string gateway_Password,
			bool gateway_TransMode,
			string gateway_TransType,
			string gateway_Host,
			string gateway_Port,
			int numOfRetry,
			bool req_UserAgreement,
			byte lineDescOption,
			string mapBrand,
			string mapColors,
			string mapSizes,
			string mapCustom1,
			string mapCustom2,
			string mapCustom3,
			string mapCustom4,
			int groupID,
			bool isPrimary,
			bool linkMgtInventory,
			string billingServiceNote,
			bool packageMode,
			bool reviewMode,
			bool secondCategories,
			byte operationType,
			bool req_AVSMatched,
			bool req_AVSZipMatched,
			bool isShowUnsuccess,
			bool req_NewCustomers,
			bool req_NewOrders,
			bool enReward,
			bool rewardMethod,
			int creditCalcValue,
			bool creditCalcType,
			int pointCalcValue1,
			int pointCalcValue2,
			decimal rewardOrderMin,
			bool enLottery,
			bool showLotteryNum,
			bool typeLottery,
			int cycleSpin,
			byte cycleType,
			DateTime startDateLottery,
			DateTime endDateLottery,
			bool priceMode,
			bool enPriceLevels,
			bool enPricebyVolume,
			byte numLevel,
			bool exceedQtyContactType,
			int imgLWidth,
			int imgMWidth,
			int imgSWidth,
			int imgTWidth,
			int imgLHeight,
			int imgMHeight,
			int imgSHeight,
			int imgTHeight,
			byte menuOption,
			byte imgNameConvention,
			byte chatStatus,
			string companyName,
			string address,
			string phone,
			string fax,
			string email,
			int minAucTransSuccessOfSeller,
			bool enMultiProductImg,
			bool enMultiProductVideo,
			bool enMultiProductPDF,
			bool enProductReview,
			byte videoNameConvention,
			byte docNameConvention,
			bool reqPhoneOfAdd,
			bool rqMatchCSC)
		
		{
			this.prefID = prefID;
			this.domainID = domainID;
			this.pageSize = pageSize;
			this.pageSetSize = pageSetSize;
			this.inventoryMode = inventoryMode;
			this.productMode = productMode;
			this.freeShipping = freeShipping;
			this.freeShippingService = freeShippingService;
			this.freeShippingReqAmt = freeShippingReqAmt;
			this.freeShippingMsg = freeShippingMsg;
			this.freeTax = freeTax;
			this.freeTaxReqAmt = freeTaxReqAmt;
			this.freeTaxMsg = freeTaxMsg;
			this.origCity = origCity;
			this.origState = origState;
			this.origZipCode = origZipCode;
			this.origCountry = origCountry;
			this.shipQuoteMethod1 = shipQuoteMethod1;
			this.shipQuoteMethod2 = shipQuoteMethod2;
			this.shippingCutOffTime = shippingCutOffTime;
			this.shippingSurCharge = shippingSurCharge;
			this.shippingSurChargeUnit = shippingSurChargeUnit;
			this.allowShip3rdParty = allowShip3rdParty;
			this.allowShipAsGift = allowShipAsGift;
			this.weightRangeCriteria = weightRangeCriteria;
			this.weightRangeWOther = weightRangeWOther;
			this.usuallyShipQtyLevel = usuallyShipQtyLevel;
			this.showOutStockProd = showOutStockProd;
			this.allowOutStockOrder = allowOutStockOrder;
			this.outStockMsg = outStockMsg;
			this.usuallyShipInvN = usuallyShipInvN;
			this.usuallyShipInvYontime = usuallyShipInvYontime;
			this.usuallyShipInvYlate = usuallyShipInvYlate;
			this.topNumberProd = topNumberProd;
			this.sendLeadTo = sendLeadTo;
			this.sendDropShip = sendDropShip;
			this.sendDropShipTo = sendDropShipTo;
			this.sendCSRTo = sendCSRTo;
			this.newCustomerSurvey = newCustomerSurvey;
			this.sendmailID = sendmailID;
			this.promoTimeStart = promoTimeStart;
			this.promoTimeEnd = promoTimeEnd;
			this.promoAutoExpireSD = promoAutoExpireSD;
			this.promoAutoExpireED = promoAutoExpireED;
			this.adm_PageSize = adm_PageSize;
			this.adm_PageSetSize = adm_PageSetSize;
			this.domainIP = domainIP;
			this.domainRootFolder = domainRootFolder;
			this.req_CSC = req_CSC;
			this.req_MatchBillAddr = req_MatchBillAddr;
			this.req_MatchCardholder = req_MatchCardholder;
			this.cODCharge = cODCharge;
			this.payPalEmail = payPalEmail;
			this.currency = currency;
			this.promoEligible = promoEligible;
			this.storeCount = storeCount;
			this.gateway_CC = gateway_CC;
			this.gateway_Check = gateway_Check;
			this.gateway_Login1 = gateway_Login1;
			this.gateway_Login2 = gateway_Login2;
			this.gateway_Password = gateway_Password;
			this.gateway_TransMode = gateway_TransMode;
			this.gateway_TransType = gateway_TransType;
			this.gateway_Host = gateway_Host;
			this.gateway_Port = gateway_Port;
			this.numOfRetry = numOfRetry;
			this.req_UserAgreement = req_UserAgreement;
			this.lineDescOption = lineDescOption;
			this.mapBrand = mapBrand;
			this.mapColors = mapColors;
			this.mapSizes = mapSizes;
			this.mapCustom1 = mapCustom1;
			this.mapCustom2 = mapCustom2;
			this.mapCustom3 = mapCustom3;
			this.mapCustom4 = mapCustom4;
			this.groupID = groupID;
			this.isPrimary = isPrimary;
			this.linkMgtInventory = linkMgtInventory;
			this.billingServiceNote = billingServiceNote;
			this.packageMode = packageMode;
			this.reviewMode = reviewMode;
			this.secondCategories = secondCategories;
			this.operationType = operationType;
			this.req_AVSMatched = req_AVSMatched;
			this.req_AVSZipMatched = req_AVSZipMatched;
			this.isShowUnsuccess = isShowUnsuccess;
			this.req_NewCustomers = req_NewCustomers;
			this.req_NewOrders = req_NewOrders;
			this.enReward = enReward;
			this.rewardMethod = rewardMethod;
			this.creditCalcValue = creditCalcValue;
			this.creditCalcType = creditCalcType;
			this.pointCalcValue1 = pointCalcValue1;
			this.pointCalcValue2 = pointCalcValue2;
			this.rewardOrderMin = rewardOrderMin;
			this.enLottery = enLottery;
			this.showLotteryNum = showLotteryNum;
			this.typeLottery = typeLottery;
			this.cycleSpin = cycleSpin;
			this.cycleType = cycleType;
			this.startDateLottery = startDateLottery;
			this.endDateLottery = endDateLottery;
			this.priceMode = priceMode;
			this.enPriceLevels = enPriceLevels;
			this.enPricebyVolume = enPricebyVolume;
			this.numLevel = numLevel;
			this.exceedQtyContactType = exceedQtyContactType;
			this.imgLWidth = imgLWidth;
			this.imgMWidth = imgMWidth;
			this.imgSWidth = imgSWidth;
			this.imgTWidth = imgTWidth;
			this.imgLHeight = imgLHeight;
			this.imgMHeight = imgMHeight;
			this.imgSHeight = imgSHeight;
			this.imgTHeight = imgTHeight;
			this.menuOption = menuOption;
			this.imgNameConvention = imgNameConvention;
			this.chatStatus = chatStatus;
			this.companyName = companyName;
			this.address = address;
			this.phone = phone;
			this.fax = fax;
			this.email = email;
			this.minAucTransSuccessOfSeller = minAucTransSuccessOfSeller;
			this.enMultiProductImg = enMultiProductImg;
			this.enMultiProductVideo = enMultiProductVideo;
			this.enMultiProductPDF = enMultiProductPDF;
			this.enProductReview = enProductReview;
			this.videoNameConvention = videoNameConvention;
			this.docNameConvention = docNameConvention;
			this.reqPhoneOfAdd = reqPhoneOfAdd;
			this.rqMatchCSC = rqMatchCSC;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int PrefID
		{
			get { return prefID; }
			set { prefID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int DomainID
		{
			get { return domainID; }
			set { domainID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int PageSize
		{
			get { return pageSize; }
			set { pageSize = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int PageSetSize
		{
			get { return pageSetSize; }
			set { pageSetSize = value; }
		}
	
		/// <summary>
		/// 	0=Static, 1=Dynamic
		/// </summary>
		/// <value>This type is bit</value>
		public bool InventoryMode
		{
			get { return inventoryMode; }
			set { inventoryMode = value; }
		}
	
		/// <summary>
		/// 	0=single, 1=main/subs
		/// </summary>
		/// <value>This type is bit</value>
		public bool ProductMode
		{
			get { return productMode; }
			set { productMode = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool FreeShipping
		{
			get { return freeShipping; }
			set { freeShipping = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int FreeShippingService
		{
			get { return freeShippingService; }
			set { freeShippingService = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is money</value>
		public decimal FreeShippingReqAmt
		{
			get { return freeShippingReqAmt; }
			set { freeShippingReqAmt = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string FreeShippingMsg
		{
			get { return freeShippingMsg; }
			set { freeShippingMsg = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool FreeTax
		{
			get { return freeTax; }
			set { freeTax = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is money</value>
		public decimal FreeTaxReqAmt
		{
			get { return freeTaxReqAmt; }
			set { freeTaxReqAmt = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string FreeTaxMsg
		{
			get { return freeTaxMsg; }
			set { freeTaxMsg = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string OrigCity
		{
			get { return origCity; }
			set { origCity = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is char</value>
		public string OrigState
		{
			get { return origState; }
			set { origState = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string OrigZipCode
		{
			get { return origZipCode; }
			set { origZipCode = value; }
		}
	
		/// <summary>
		/// 	Country ISO Code
		/// </summary>
		/// <value>This type is varchar</value>
		public string OrigCountry
		{
			get { return origCountry; }
			set { origCountry = value; }
		}
	
		/// <summary>
		/// 	1=real-time; 2=calc percentage; 3=calc cost table; 4=None
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte ShipQuoteMethod1
		{
			get { return shipQuoteMethod1; }
			set { shipQuoteMethod1 = value; }
		}
	
		/// <summary>
		/// 	Backup method when there is no weight or live service is not available
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte ShipQuoteMethod2
		{
			get { return shipQuoteMethod2; }
			set { shipQuoteMethod2 = value; }
		}
	
		/// <summary>
		/// 	cutoff by 3:00 PM by default
		/// </summary>
		/// <value>This type is varchar</value>
		public string ShippingCutOffTime
		{
			get { return shippingCutOffTime; }
			set { shippingCutOffTime = value; }
		}
	
		/// <summary>
		/// 	in percenatage: +/-2% or fixed: +/-2.00
		/// </summary>
		/// <value>This type is float</value>
		public double ShippingSurCharge
		{
			get { return shippingSurCharge; }
			set { shippingSurCharge = value; }
		}
	
		/// <summary>
		/// 	1=Percent; 0=Dollar
		/// </summary>
		/// <value>This type is bit</value>
		public bool ShippingSurChargeUnit
		{
			get { return shippingSurChargeUnit; }
			set { shippingSurChargeUnit = value; }
		}
	
		/// <summary>
		/// 	Allow ship order to 3rd party
		/// </summary>
		/// <value>This type is bit</value>
		public bool AllowShip3rdParty
		{
			get { return allowShip3rdParty; }
			set { allowShip3rdParty = value; }
		}
	
		/// <summary>
		/// 	So that seller do not have to include receipt
		/// </summary>
		/// <value>This type is bit</value>
		public bool AllowShipAsGift
		{
			get { return allowShipAsGift; }
			set { allowShipAsGift = value; }
		}
	
		/// <summary>
		/// 	0=use total,1=use max weight
		/// </summary>
		/// <value>This type is bit</value>
		public bool WeightRangeCriteria
		{
			get { return weightRangeCriteria; }
			set { weightRangeCriteria = value; }
		}
	
		/// <summary>
		/// 	0=no, 1=yes, use with another method as flat base rate
		/// </summary>
		/// <value>This type is bit</value>
		public bool WeightRangeWOther
		{
			get { return weightRangeWOther; }
			set { weightRangeWOther = value; }
		}
	
		/// <summary>
		/// 	level to considered as in-stock
		/// </summary>
		/// <value>This type is int</value>
		public int UsuallyShipQtyLevel
		{
			get { return usuallyShipQtyLevel; }
			set { usuallyShipQtyLevel = value; }
		}
	
		/// <summary>
		/// 	0=no, 1=show out of stock items
		/// </summary>
		/// <value>This type is bit</value>
		public bool ShowOutStockProd
		{
			get { return showOutStockProd; }
			set { showOutStockProd = value; }
		}
	
		/// <summary>
		/// 	1=allow, 0=Not allow to order Out of Stock Item
		/// </summary>
		/// <value>This type is bit</value>
		public bool AllowOutStockOrder
		{
			get { return allowOutStockOrder; }
			set { allowOutStockOrder = value; }
		}
	
		/// <summary>
		/// 	when Show OutofStock and let customer order
		/// </summary>
		/// <value>This type is varchar</value>
		public string OutStockMsg
		{
			get { return outStockMsg; }
			set { outStockMsg = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string UsuallyShipInvN
		{
			get { return usuallyShipInvN; }
			set { usuallyShipInvN = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string UsuallyShipInvYontime
		{
			get { return usuallyShipInvYontime; }
			set { usuallyShipInvYontime = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string UsuallyShipInvYlate
		{
			get { return usuallyShipInvYlate; }
			set { usuallyShipInvYlate = value; }
		}
	
		/// <summary>
		/// 	data type required for exec(strSQL)
		/// </summary>
		/// <value>This type is varchar</value>
		public string TopNumberProd
		{
			get { return topNumberProd; }
			set { topNumberProd = value; }
		}
	
		/// <summary>
		/// 	Where the order email was sent to Seller
		/// </summary>
		/// <value>This type is varchar</value>
		public string SendLeadTo
		{
			get { return sendLeadTo; }
			set { sendLeadTo = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool SendDropShip
		{
			get { return sendDropShip; }
			set { sendDropShip = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string SendDropShipTo
		{
			get { return sendDropShipTo; }
			set { sendDropShipTo = value; }
		}
	
		/// <summary>
		/// 	customer service request from website
		/// </summary>
		/// <value>This type is varchar</value>
		public string SendCSRTo
		{
			get { return sendCSRTo; }
			set { sendCSRTo = value; }
		}
	
		/// <summary>
		/// 	1=enable, 0=disable
		/// </summary>
		/// <value>This type is bit</value>
		public bool NewCustomerSurvey
		{
			get { return newCustomerSurvey; }
			set { newCustomerSurvey = value; }
		}
	
		/// <summary>
		/// 	copy on creation from sendmail.companyid
		/// </summary>
		/// <value>This type is int</value>
		public int SendmailID
		{
			get { return sendmailID; }
			set { sendmailID = value; }
		}
	
		/// <summary>
		/// 	Using format HH:MM:00 PM
		/// </summary>
		/// <value>This type is varchar</value>
		public string PromoTimeStart
		{
			get { return promoTimeStart; }
			set { promoTimeStart = value; }
		}
	
		/// <summary>
		/// 	Using format HH:MM:00 PM
		/// </summary>
		/// <value>This type is varchar</value>
		public string PromoTimeEnd
		{
			get { return promoTimeEnd; }
			set { promoTimeEnd = value; }
		}
	
		/// <summary>
		/// 	1=Sun, 2=Mon...7=Sat
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte PromoAutoExpireSD
		{
			get { return promoAutoExpireSD; }
			set { promoAutoExpireSD = value; }
		}
	
		/// <summary>
		/// 	1=Sun, 2=Mon...7=Sat
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte PromoAutoExpireED
		{
			get { return promoAutoExpireED; }
			set { promoAutoExpireED = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int Adm_PageSize
		{
			get { return adm_PageSize; }
			set { adm_PageSize = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int Adm_PageSetSize
		{
			get { return adm_PageSetSize; }
			set { adm_PageSetSize = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string DomainIP
		{
			get { return domainIP; }
			set { domainIP = value; }
		}
	
		/// <summary>
		/// 	root folder name of domain on web server
		/// </summary>
		/// <value>This type is varchar</value>
		public string DomainRootFolder
		{
			get { return domainRootFolder; }
			set { domainRootFolder = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool Req_CSC
		{
			get { return req_CSC; }
			set { req_CSC = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool Req_MatchBillAddr
		{
			get { return req_MatchBillAddr; }
			set { req_MatchBillAddr = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool Req_MatchCardholder
		{
			get { return req_MatchCardholder; }
			set { req_MatchCardholder = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is money</value>
		public decimal CODCharge
		{
			get { return cODCharge; }
			set { cODCharge = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string PayPalEmail
		{
			get { return payPalEmail; }
			set { payPalEmail = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is char</value>
		public string Currency
		{
			get { return currency; }
			set { currency = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool PromoEligible
		{
			get { return promoEligible; }
			set { promoEligible = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int StoreCount
		{
			get { return storeCount; }
			set { storeCount = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Gateway_CC
		{
			get { return gateway_CC; }
			set { gateway_CC = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Gateway_Check
		{
			get { return gateway_Check; }
			set { gateway_Check = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Gateway_Login1
		{
			get { return gateway_Login1; }
			set { gateway_Login1 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Gateway_Login2
		{
			get { return gateway_Login2; }
			set { gateway_Login2 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Gateway_Password
		{
			get { return gateway_Password; }
			set { gateway_Password = value; }
		}
	
		/// <summary>
		/// 	0: Manual; 1:  Auto
		/// </summary>
		/// <value>This type is bit</value>
		public bool Gateway_TransMode
		{
			get { return gateway_TransMode; }
			set { gateway_TransMode = value; }
		}
	
		/// <summary>
		/// 	default transType
		/// </summary>
		/// <value>This type is varchar</value>
		public string Gateway_TransType
		{
			get { return gateway_TransType; }
			set { gateway_TransType = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Gateway_Host
		{
			get { return gateway_Host; }
			set { gateway_Host = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Gateway_Port
		{
			get { return gateway_Port; }
			set { gateway_Port = value; }
		}
	
		/// <summary>
		/// 	Number of retry when tran decline
		/// </summary>
		/// <value>This type is int</value>
		public int NumOfRetry
		{
			get { return numOfRetry; }
			set { numOfRetry = value; }
		}
	
		/// <summary>
		/// 	0=no, 1=yes
		/// </summary>
		/// <value>This type is bit</value>
		public bool Req_UserAgreement
		{
			get { return req_UserAgreement; }
			set { req_UserAgreement = value; }
		}
	
		/// <summary>
		/// 	0=brand  model, 1=model ( brand) 
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte LineDescOption
		{
			get { return lineDescOption; }
			set { lineDescOption = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string MapBrand
		{
			get { return mapBrand; }
			set { mapBrand = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string MapColors
		{
			get { return mapColors; }
			set { mapColors = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string MapSizes
		{
			get { return mapSizes; }
			set { mapSizes = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string MapCustom1
		{
			get { return mapCustom1; }
			set { mapCustom1 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string MapCustom2
		{
			get { return mapCustom2; }
			set { mapCustom2 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string MapCustom3
		{
			get { return mapCustom3; }
			set { mapCustom3 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string MapCustom4
		{
			get { return mapCustom4; }
			set { mapCustom4 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int GroupID
		{
			get { return groupID; }
			set { groupID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool IsPrimary
		{
			get { return isPrimary; }
			set { isPrimary = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool LinkMgtInventory
		{
			get { return linkMgtInventory; }
			set { linkMgtInventory = value; }
		}
	
		/// <summary>
		/// 	3rd party billing service: payment types, complete payment outside site
		/// </summary>
		/// <value>This type is varchar</value>
		public string BillingServiceNote
		{
			get { return billingServiceNote; }
			set { billingServiceNote = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool PackageMode
		{
			get { return packageMode; }
			set { packageMode = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool ReviewMode
		{
			get { return reviewMode; }
			set { reviewMode = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool SecondCategories
		{
			get { return secondCategories; }
			set { secondCategories = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte OperationType
		{
			get { return operationType; }
			set { operationType = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool Req_AVSMatched
		{
			get { return req_AVSMatched; }
			set { req_AVSMatched = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool Req_AVSZipMatched
		{
			get { return req_AVSZipMatched; }
			set { req_AVSZipMatched = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool IsShowUnsuccess
		{
			get { return isShowUnsuccess; }
			set { isShowUnsuccess = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool Req_NewCustomers
		{
			get { return req_NewCustomers; }
			set { req_NewCustomers = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool Req_NewOrders
		{
			get { return req_NewOrders; }
			set { req_NewOrders = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool EnReward
		{
			get { return enReward; }
			set { enReward = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool RewardMethod
		{
			get { return rewardMethod; }
			set { rewardMethod = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int CreditCalcValue
		{
			get { return creditCalcValue; }
			set { creditCalcValue = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool CreditCalcType
		{
			get { return creditCalcType; }
			set { creditCalcType = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int PointCalcValue1
		{
			get { return pointCalcValue1; }
			set { pointCalcValue1 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int PointCalcValue2
		{
			get { return pointCalcValue2; }
			set { pointCalcValue2 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is money</value>
		public decimal RewardOrderMin
		{
			get { return rewardOrderMin; }
			set { rewardOrderMin = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool EnLottery
		{
			get { return enLottery; }
			set { enLottery = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool ShowLotteryNum
		{
			get { return showLotteryNum; }
			set { showLotteryNum = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool TypeLottery
		{
			get { return typeLottery; }
			set { typeLottery = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int CycleSpin
		{
			get { return cycleSpin; }
			set { cycleSpin = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte CycleType
		{
			get { return cycleType; }
			set { cycleType = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime StartDateLottery
		{
			get { return startDateLottery; }
			set { startDateLottery = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime EndDateLottery
		{
			get { return endDateLottery; }
			set { endDateLottery = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool PriceMode
		{
			get { return priceMode; }
			set { priceMode = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool EnPriceLevels
		{
			get { return enPriceLevels; }
			set { enPriceLevels = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool EnPricebyVolume
		{
			get { return enPricebyVolume; }
			set { enPricebyVolume = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte NumLevel
		{
			get { return numLevel; }
			set { numLevel = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool ExceedQtyContactType
		{
			get { return exceedQtyContactType; }
			set { exceedQtyContactType = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ImgLWidth
		{
			get { return imgLWidth; }
			set { imgLWidth = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ImgMWidth
		{
			get { return imgMWidth; }
			set { imgMWidth = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ImgSWidth
		{
			get { return imgSWidth; }
			set { imgSWidth = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ImgTWidth
		{
			get { return imgTWidth; }
			set { imgTWidth = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ImgLHeight
		{
			get { return imgLHeight; }
			set { imgLHeight = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ImgMHeight
		{
			get { return imgMHeight; }
			set { imgMHeight = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ImgSHeight
		{
			get { return imgSHeight; }
			set { imgSHeight = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ImgTHeight
		{
			get { return imgTHeight; }
			set { imgTHeight = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte MenuOption
		{
			get { return menuOption; }
			set { menuOption = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte ImgNameConvention
		{
			get { return imgNameConvention; }
			set { imgNameConvention = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte ChatStatus
		{
			get { return chatStatus; }
			set { chatStatus = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string CompanyName
		{
			get { return companyName; }
			set { companyName = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Address
		{
			get { return address; }
			set { address = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Phone
		{
			get { return phone; }
			set { phone = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Fax
		{
			get { return fax; }
			set { fax = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Email
		{
			get { return email; }
			set { email = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int MinAucTransSuccessOfSeller
		{
			get { return minAucTransSuccessOfSeller; }
			set { minAucTransSuccessOfSeller = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool EnMultiProductImg
		{
			get { return enMultiProductImg; }
			set { enMultiProductImg = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool EnMultiProductVideo
		{
			get { return enMultiProductVideo; }
			set { enMultiProductVideo = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool EnMultiProductPDF
		{
			get { return enMultiProductPDF; }
			set { enMultiProductPDF = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool EnProductReview
		{
			get { return enProductReview; }
			set { enProductReview = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte VideoNameConvention
		{
			get { return videoNameConvention; }
			set { videoNameConvention = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte DocNameConvention
		{
			get { return docNameConvention; }
			set { docNameConvention = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool ReqPhoneOfAdd
		{
			get { return reqPhoneOfAdd; }
			set { reqPhoneOfAdd = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool RqMatchCSC
		{
			get { return rqMatchCSC; }
			set { rqMatchCSC = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum a_DomPrefSColumns
	{
		PrefID,
		DomainID,
		PageSize,
		PageSetSize,
		InventoryMode,
		ProductMode,
		FreeShipping,
		FreeShippingService,
		FreeShippingReqAmt,
		FreeShippingMsg,
		FreeTax,
		FreeTaxReqAmt,
		FreeTaxMsg,
		OrigCity,
		OrigState,
		OrigZipCode,
		OrigCountry,
		ShipQuoteMethod1,
		ShipQuoteMethod2,
		ShippingCutOffTime,
		ShippingSurCharge,
		ShippingSurChargeUnit,
		AllowShip3rdParty,
		AllowShipAsGift,
		WeightRangeCriteria,
		WeightRangeWOther,
		UsuallyShipQtyLevel,
		ShowOutStockProd,
		AllowOutStockOrder,
		OutStockMsg,
		UsuallyShipInvN,
		UsuallyShipInvYontime,
		UsuallyShipInvYlate,
		TopNumberProd,
		SendLeadTo,
		SendDropShip,
		SendDropShipTo,
		SendCSRTo,
		NewCustomerSurvey,
		SendmailID,
		PromoTimeStart,
		PromoTimeEnd,
		PromoAutoExpireSD,
		PromoAutoExpireED,
		Adm_PageSize,
		Adm_PageSetSize,
		DomainIP,
		DomainRootFolder,
		Req_CSC,
		Req_MatchBillAddr,
		Req_MatchCardholder,
		CODCharge,
		PayPalEmail,
		Currency,
		PromoEligible,
		StoreCount,
		Gateway_CC,
		Gateway_Check,
		Gateway_Login1,
		Gateway_Login2,
		Gateway_Password,
		Gateway_TransMode,
		Gateway_TransType,
		Gateway_Host,
		Gateway_Port,
		NumOfRetry,
		Req_UserAgreement,
		LineDescOption,
		MapBrand,
		MapColors,
		MapSizes,
		MapCustom1,
		MapCustom2,
		MapCustom3,
		MapCustom4,
		GroupID,
		IsPrimary,
		LinkMgtInventory,
		BillingServiceNote,
		PackageMode,
		ReviewMode,
		SecondCategories,
		OperationType,
		Req_AVSMatched,
		Req_AVSZipMatched,
		IsShowUnsuccess,
		Req_NewCustomers,
		Req_NewOrders,
		EnReward,
		RewardMethod,
		CreditCalcValue,
		CreditCalcType,
		PointCalcValue1,
		PointCalcValue2,
		RewardOrderMin,
		EnLottery,
		ShowLotteryNum,
		TypeLottery,
		CycleSpin,
		CycleType,
		StartDateLottery,
		EndDateLottery,
		PriceMode,
		EnPriceLevels,
		EnPricebyVolume,
		NumLevel,
		ExceedQtyContactType,
		ImgLWidth,
		ImgMWidth,
		ImgSWidth,
		ImgTWidth,
		ImgLHeight,
		ImgMHeight,
		ImgSHeight,
		ImgTHeight,
		MenuOption,
		ImgNameConvention,
		ChatStatus,
		CompanyName,
		Address,
		Phone,
		Fax,
		Email,
		MinAucTransSuccessOfSeller,
		EnMultiProductImg,
		EnMultiProductVideo,
		EnMultiProductPDF,
		EnProductReview,
		VideoNameConvention,
		DocNameConvention,
		ReqPhoneOfAdd,
		RqMatchCSC
	}//End enum
}